﻿using System.Windows;

namespace Kinect.Viewer.Behaviors
{
    public class MaximizeWindowOnLoadBehavior : LoadedAwareBehavior<Window>
    {
        protected override void OnLoaded()
        {
            base.OnLoaded();
            AssociatedObject.WindowState = WindowState.Maximized;
        }
    }
}
